import {
  ArrowDown,
  ChatLineSquare,
  Expand,
  Goods,
  Monitor,
  Setting
} from '@element-plus/icons-vue'
import { ElButton, ElInput } from 'element-plus'
import 'element-plus/es/components/message/style/css'
import { App } from 'vue'

// 将常用的组件进行全局注册
const components = [
  ElButton,
  ElInput,
  Monitor,
  Setting,
  Goods,
  ChatLineSquare,
  Expand,
  ArrowDown
]
export default function (app: App): void {
  components.forEach((component) => {
    app.component(component.name, component)
  })
}
